#ifndef CATEGORY_H_
#define CATEGORY_H_

#include <string>
#include <sstream>

using namespace std;

struct Category {
public:
    // default constructors
    Category() : cat_id(0), cat_name("") { // RA
    }
    
    // constructors
    Category(int cate_id, string cate_name)
    : cat_id(cate_id), cat_name(cate_name) {
    }

    // utility functions		//RT
    string display() const {
        stringstream stringData;
        stringData << cat_name;
        return stringData.str();
    }

    // getter
    int get_cat_id() const {
        return cat_id;
    }

    string get_cat_name() const {
        return cat_name;
    }
    
private:
    //constants

    // private data
    int cat_id;
    string cat_name;
};

#endif //CATEGORY_H_
